CSSProperty

data class CSSProperty(name: String, value: String, important: Boolean?, implicit: Boolean?, text: String?, parsedOk: Boolean?, disabled: Boolean?, range: SourceRange?)

CSS property declaration data.

Constructors

CSSProperty
Link copied to clipboard
fun CSSProperty(name: String, value: String, important: Boolean? = null, implicit: Boolean? = null, text: String? = null, parsedOk: Boolean? = null, disabled: Boolean? = null, range: SourceRange? = null)

Properties

disabled
Link copied to clipboard
val disabled: Boolean? = null
Whether the property is disabled by the user (present for source-based properties only).
implicit
Link copied to clipboard
val implicit: Boolean? = null
Whether the property is implicit (implies false if absent).
important
Link copied to clipboard
val important: Boolean? = null
Whether the property has "!
name
Link copied to clipboard
val name: String
The property name.
parsedOk
Link copied to clipboard
val parsedOk: Boolean? = null
Whether the property is understood by the browser (implies true if absent).
range
Link copied to clipboard
val range: SourceRange? = null
The entire property range in the enclosing style declaration (if available).
text
Link copied to clipboard
val text: String? = null
The full property text as specified in the style.
value
Link copied to clipboard
val value: String
The property value.

Sources

jvm source
Link copied to clipboard